Appearance
KBE3D / KBCore / Cesium / Intersections2D
Intersections2D
Contains functions for operating on 2D triangles.
函数
| 函数 | 描述 |
|---|---|
| clipTriangleAtAxisAlignedThreshold | Splits a 2D triangle at given axis-aligned threshold value and returns the resulting polygon on a given side of the threshold. The resulting polygon may have 0, 1, 2, 3, or 4 vertices. |
| computeBarycentricCoordinates | Compute the barycentric coordinates of a 2D position within a 2D triangle. |
| computeLineSegmentLineSegmentIntersection | Compute the intersection between 2 line segments |
